//
//  Product.m
//  ShopDeluxe
//
//  Created by Jordy Heemskerk on 18-04-10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "Product.h"



@implementation Product
@synthesize name;
@synthesize description;
@synthesize image;
@synthesize shop;

- (Product*) initWithName:(NSString*) n Description:(NSString*) d Price:(double) p OldPrice:(double) op Image:(UIImage*) i AndShop:(NSString*) s {
	self = [super init];
	
	name = n;
	description = d;
	price = p;
	oldprice = op;
	image = i;
	shop = s;
	
	
	return self;
}

- (double) price {
	return price;
}
- (double) oldprice {
	return oldprice;
}
@end
